lib: Export ffi too
authorColin Walters <walters@verbum.org>
Fri, 6 Aug 2021 20:35:13 +0000 (16:35 -0400)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:57 +0000 (12:53 -0400)
Matching how gtk-rs does it.  Right now rpm-ostree does depend
on interacting with `ostree-sys` via the cxxrs bits.

rust-bindings/rust/src/lib.rs

index 9e7fa63175b5105142ba81875c2116be13e15ce6..28cf89ea6f07d0f1458db38e228f134794d4419d 100644 (file)
@@ -12,6 +12,7 @@
 // Re-export our dependencies.  See https://gtk-rs.org/blog/2021/06/22/new-release.html
 // "Dependencies are re-exported".  Users will need e.g. `gio::File`, so this avoids
 // them needing to update matching versions.
+pub use ffi;
 pub use gio;
 pub use glib;